From: Marco Trevisan (TreviƱo) Date: Tue, 12 Apr 2022 15:20:58 +0000 (+0200) Subject: gdm/utils: Pass cancellable to the FPrint Device proxy and avoid signals X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~281^2~1^2~95 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ce03df5761df3c8571c18c0f291450ccb5ca37cc;p=gnome-shell.git gdm/utils: Pass cancellable to the FPrint Device proxy and avoid signals Part-of: --- diff --git a/js/gdm/util.js b/js/gdm/util.js index e9ed77e0c..7adeaebfa 100644 --- a/js/gdm/util.js +++ b/js/gdm/util.js @@ -410,8 +410,8 @@ export class ShellUserVerifier extends Signals.EventEmitter { const args = cancellable ? [cancellable] : []; const [devicePath] = await fprintManager.GetDefaultDeviceAsync(...args); const fprintDeviceProxy = new FprintDeviceProxy(Gio.DBus.system, - 'net.reactivated.Fprint', - devicePath); + 'net.reactivated.Fprint', devicePath, null, cancellable, + Gio.DBusProxyFlags.NOT_CONNECT_SIGNALS); this._setFingerprintReaderType(fprintDeviceProxy['scan-type']); this._updateDefaultService();